<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>detail</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/common.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/main.css}"/>
    <!-- Bootstrap core CSS -->
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link th:href="@{/css/dashboard.css}" rel="stylesheet">
</head>
<body>
    <!--导航栏-->
    <div th:replace="~{commons/commons::topbar}"></div>

    <div>
        <div>

            <!--侧边栏-->
            <div th:replace="~{commons/commons::sidebar(active='list.html')}"></div>
            <p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
            <!--/sidebar-->
            <div class="main-wrap">
                <div class="result-wrap">
                    <div class="result-content">
                        <form th:action="@{/updatepass}" method="post">
                            <table class="insert-tab" width="100%">
                                <tbody>
                                <tr>
                                    <th><i class="require-red">*</i>编号:</th>
                                    <td>
                                        <input class="common-text required" name="id" size="50" th:value="${member.getId()}" type="text" readonly="readonly">
                                    </td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>姓名:</th>
                                    <td>
                                        <input class="common-text required" name="name" size="50" th:value="${member.getName()}" type="text" readonly="readonly">
                                    </td>
                                </tr>
                                <tr>
                                    <th width="120"><i class="require-red">*</i>性别:</th>
                                    <td>
                                        <input class="common-text required" name="sex" size="50" th:value="${member.getSex()==1?'男':'女'}" type="text" readonly="readonly">
                                    </td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>方向:</th>
                                    <td>
                                        <input class="common-text required" name="target" size="50" th:value="${member.getTarget()}" type="text" readonly="readonly">
                                    </td>
                                </tr>
                                <tr>
                                    <th><i class="require-red">*</i>QQ:</th>
                                    <td>
                                        <input class="common-text required" name="qq" size="50" th:value="${member.getQq()}" type="text" readonly="readonly">
                                    </td>
                                </tr>
                                <tr>
                                    <th>电话:</th>
                                    <td><input class="common-text" name="phone" size="50" th:value="${member.getPhone()}" type="text" readonly="readonly"></td>
                                </tr>

                                <tr>
                                    <th>个人经历:</th>
                                    <td><textarea name="experience" class="common-textarea" cols="5" style="width: 60%;" rows="3" th:text="${member.getExperience()}" readonly="readonly"></textarea></td>
                                </tr>
                                <tr>
                                    <th>个人简介:</th>
                                    <td><textarea name="profile" class="common-textarea" id="content" cols="15" style="width: 60%;" rows="5" th:text="${member.getProfile()}" readonly="readonly"></textarea></td>
                                </tr>

                                <tr>
                                    <th width="120"><i class="require-red">*</i>状态:</th>
                                    <td>
                                        <!--<input class="common-text" name="pass" size="35" th:value="${member.getPass()==1?'通过':'不通过'}" type="text">(不通过直接返回即可,无需修改)-->
                                        <select name="pass">
                                            <option value="1" th:selected="${{member.getPass()}} eq '1'">通过</option>
                                            <option value="2" th:selected="${{member.getPass()}} eq '2'">不通过</option>
                                            <option value="3" th:selected="${{member.getPass()}} eq '3'">待商议</option>
                                        </select>
                                    </td>
                                </tr>

                                <tr>
                                    <th></th>
                                    <td>
                                        <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                        <input class="btn btn6" onClick="history.go(-1)" value="返回" type="button">
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>

            </div>


        </div>
    </div>
</body>
</html>